package com.spring.wx.oauth.service;


import com.spring.wx.oauth.dao.CompanyMapper;
import com.spring.wx.oauth.entity.UserCompanyEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/1/26
 */
@Service
public class CompanyService {

    @Resource
    private CompanyMapper companyMapper;

    public UserCompanyEntity getCompany(long uid) {
        return companyMapper.getUserCompanyEntity(uid);
    }


}
